@layout("/common/_container.html"){
<style>.btnBox{background:#f1f1f1;position:fixed;bottom:0;width:100%;padding:5px 0;text-align:center;}.btnBox>button{margin:0;color:white;background:#6090b8;padding: 5px 14px;}.btnBox>button:last-of-type{background:white;color:inherit;border:1px solid #999999}</style>
<div class="ibox float-e-margins">
    <div style="display: none">
        <input type="hidden" id="imgName" value="${imgName}">
    </div>
    <div style="text-align: center;"><img src="${imgName}" alt=""></div>
</div>
分享到：
<div onclick="shareTo('wechat')">
   <img src="http://zixuephp.net/static/images/wechatshare.png" width="32">
</div>
<button type="button" class="btn" onclick="parent.layer.close(parent.layer.getFrameIndex(window.name));">取消</button>
<script type="text/javascript">
    function shareTo(stype){
        //生成二维码给微信扫描分享，php生成，也可以用jquery.qrcode.js插件实现二维码生成
        if(stype == 'wechat'){
            window.open('http://www.yiyatest.cn:8069/WDYLT/caseSelectionVote/to_caseQRCode');
        }
    }
</script>
@}